
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
//import jquery from "jquery";
//Vue.prototype.$ = jquery;
Vue.config.productionTip = false


// main.js
import uView from "uview-ui";
Vue.use(uView);

import axios from 'axios'
//vue-jsonp 引用开始
import { VueJsonp } from 'vue-jsonp'

// Vue Plugin.
Vue.use(VueJsonp)

// Now you can use this.$jsonp in Vue components.
const vm = new Vue()
vm.$jsonp('/some-jsonp-url', {
  myCustomUrlParam: 'veryNice'
})
//vue-jsonp 引用开始

import request from "./utils/request";
Vue.prototype.$request =request

axios.defaults.baseURL = 'http://localhost:9000/'
Vue.prototype.$axios = axios
Vue.prototype.$http = axios

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif